      <aside>
          <div id="sidebar"  class="nav-collapse ">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu">
                  <li style="margin-right: 70px;">
                      <a class="active" href="index.html">
                          <i class="icon-home"></i>
                          <span>我的主页</span>
                      </a>
                  </li>
              <foreach name="menu_list" item="vo" key="k" >
        	      	<notempty name="vo.sub_menu">
                      <li class="sub-menu">
                          <a href="javascript:;" class="">
                              <i class="icon-{$vo.icon}"></i>
                              <span>{$vo.name}</span>
                            
                          </a>
                          <ul class="sub">
                          <!-- 	<li class="sub-menu">
                                  <a href="javascript:;" class="active">
                                      <span>基础文件</span>
                                  </a>
                                  <ul class="sub">
                                      <li class="active"><a class="" href="#">政府批复</a></li>
                                      <li><a class="" href="#">模型文件</a></li>
                                  </ul>
                              </li>  -->                   
                           <foreach name="vo.sub_menu" item="vv" key="kk">
                              <li onclick="makecss(this)" data-id="{$vv.act}_{$vv.control}"><a  class="" href="{:U("$vv[control]/$vv[act]")}" target='rightContent'><span>{$vv.name}</span></a>
                                  <if condition="$vv['san'] neq ''">
                                   <ul class="sub">
                                      <foreach name="vv.san" item="vvv" key="kkk">
                                      <li><a class="" href="{:U("$vvv[control]/$vvv[act]")}" target='rightContent'><span>{$vvv.name}</span></a></li>
                                       </foreach> 
                                  </ul>
                                  </if>
                              </li>
                           </foreach> 
                          </ul>
                      </li>
                	</notempty>
	            </foreach>     
              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
      
<script>
var tmpmenu = 'index_Index';
function makecss(obj){
	$('li[data-id="'+tmpmenu+'"]').removeClass('active');
	$(obj).addClass('active');
	tmpmenu = $(obj).attr('data-id');
}
</script>